use actix_web::web::ServiceConfig;
use crate::controller::role_controller as role;

pub(crate) fn role_routers(service_config: &mut ServiceConfig) {
    service_config
        .service(actix_web::web::scope("/admin/role")
            .service(role::new_role)
            .service(role::update_role)
            .service(role::delete_role)
        );
}